package com.sdy.healthcode.biz.service.impl;

import com.sdy.healthcode.biz.dto.CodeCount;
import com.sdy.healthcode.biz.model.NcovArea;
import com.sdy.healthcode.biz.mapper.NcovAreaMapper;
import com.sdy.healthcode.biz.service.NcovAreaService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 新冠肺炎分布区域表 服务实现类
 * </p>
 *
 * @author cgj
 * @since 2020-02-25
 */
@Slf4j
@Service
public class NcovAreaServiceImpl extends BaseServiceImpl<NcovArea> implements NcovAreaService {
    @Autowired
    private NcovAreaMapper ncovAreaMapper;


    @Override
    public List<String> getCiteCode(String areaCode) {
        return ncovAreaMapper.getCityCode(areaCode);
    }
}
